﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;

/// <summary>
/// Summary description for ScheduleSearchCriteria
/// </summary>
public class ScheduleSearchCriteria {
	protected Dictionary<int, User> users;
    protected User user;
	protected int? zip;
	protected DayOfWeek? dayOfWeek;
	protected int? departureHour;
	protected int? returnHour;

	public int? Zip {
		get { return this.zip; }
		set { this.zip = value; }
	}

	public DayOfWeek? DayOfWeek {
		get { return this.dayOfWeek; }
		set { this.dayOfWeek = value; }
	}

	public int? DepartureHour {
		get { return this.departureHour; }
		set { this.departureHour = value; }
	}

	public int? ReturnHour {
		get { return this.returnHour; }
		set { this.returnHour = value; }
	}

	public Dictionary<int, User> Users {
		get { return this.users; }
		set { this.users = value; }
	}

    public User thisUser
    {
        get { return this.user; }
        set { this.user = value; }
    }

	public ScheduleSearchCriteria() {
		this.Users = new Dictionary<int, User>();
	}

	public ScheduleSearchCriteria(int? zip, DayOfWeek dayOfWeek, int? departureHour, int? returnHour) : this() {
		this.zip = zip;
		this.dayOfWeek = dayOfWeek;
		this.departureHour = departureHour;
		this.returnHour = returnHour;
	}
}
